Some agents are hard coded by the designer or end user, but some employ machine learning in order to learn how to perform their tasks. The two may be combined with initially hand-coded scripts that are then superceded by learnt behvaiour, or scripts that include specific parts where machine learning tunes decisions.
Used on Chap. 16: page 373